package com.yy.dto;

import java.io.Serializable;

import com.yy.model.TbJob;
public class JobDTO implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	private Integer jobId;
	private String 	jobName;
	private Integer jobCompany;
	private Integer jobNum;
	private Integer jobHave;
	
	public Integer getJobId() {
		return jobId;
	}
	public void setJobId(Integer jobId) {
		this.jobId = jobId;
	}
	
	public String getJobName() {
		return jobName;
	}
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	
	public Integer getJobCompany() {
		return jobCompany;
	}
	public void setJobCompany(Integer jobCompany) {
		this.jobCompany = jobCompany;
	}
	
	public Integer getJobNum() {
		return jobNum;
	}
	public void setJobNum(Integer jobNum) {
		this.jobNum = jobNum;
	}
	
	public Integer getJobHave() {
		return jobHave;
	}
	public void setJobHave(Integer jobHave) {
		this.jobHave = jobHave;
	}

	public TbJob toDAO(){
		TbJob jobBean=new TbJob();
		jobBean.setJobId(this.getJobId());
		jobBean.setJobName(this.getJobName());
		jobBean.setJobCompany(this.getJobCompany());
		jobBean.setJobNum(this.getJobNum());
		jobBean.setJobHave(this.getJobHave());
		
		return jobBean;
		
	}
}
